#include "fontlib.h"

//////////////////字模类型 ：阴码 高位在前 逐行式  ////////////////
const uint8_t F5x7[][7] = 
{
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, //  
{0x20, 0x20, 0x20, 0x20, 0x20, 0x00, 0x20}, // !
{0x50, 0x50, 0x50, 0x00, 0x00, 0x00, 0x00}, // "
{0x50, 0x50, 0xF8, 0x50, 0xF8, 0x50, 0x50}, // #
{0x20, 0x78, 0xA0, 0x70, 0x28, 0xF0, 0x20}, // $
{0xC0, 0xC8, 0x10, 0x20, 0x40, 0x98, 0x18}, // %
{0x40, 0xA0, 0xA0, 0x40, 0xA8, 0x90, 0x68}, // &
{0x30, 0x30, 0x20, 0x40, 0x00, 0x00, 0x00}, // '
{0x10, 0x20, 0x40, 0x40, 0x40, 0x20, 0x10}, // (
{0x40, 0x20, 0x10, 0x10, 0x10, 0x20, 0x40}, // )
{0x20, 0xA8, 0x70, 0xF8, 0x70, 0xA8, 0x20}, // *
{0x00, 0x20, 0x20, 0xF8, 0x20, 0x20, 0x00}, // +
{0x00, 0x00, 0x00, 0x00, 0x30, 0x30, 0x20}, // ,
{0x00, 0x00, 0x00, 0xF8, 0x00, 0x00, 0x00}, // -
{0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x30}, // .
{0x00, 0x08, 0x10, 0x20, 0x40, 0x80, 0x00}, // /
{0x70, 0x88, 0x98, 0xA8, 0xC8, 0x88, 0x70}, // 0
{0x20, 0x60, 0x20, 0x20, 0x20, 0x20, 0x70}, // 1
{0x70, 0x88, 0x08, 0x70, 0x80, 0x80, 0xF8}, // 2
{0xF8, 0x08, 0x10, 0x30, 0x08, 0x88, 0x70}, // 3
{0x10, 0x30, 0x50, 0x90, 0xF8, 0x10, 0x10}, // 4
{0xF8, 0x80, 0xF0, 0x08, 0x08, 0x88, 0x70}, // 5
{0x38, 0x40, 0x80, 0xF0, 0x88, 0x88, 0x70}, // 6
{0xF8, 0x08, 0x08, 0x10, 0x20, 0x40, 0x80}, // 7
{0x70, 0x88, 0x88, 0x70, 0x88, 0x88, 0x70}, // 8
{0x70, 0x88, 0x88, 0x78, 0x08, 0x10, 0xE0}, // 9
{0x00, 0x00, 0x20, 0x00, 0x20, 0x00, 0x00}, // :
{0x00, 0x00, 0x20, 0x00, 0x20, 0x20, 0x40}, // ;
{0x08, 0x10, 0x20, 0x40, 0x20, 0x10, 0x08}, // <
{0x00, 0x00, 0xF8, 0x00, 0xF8, 0x00, 0x00}, // =
{0x40, 0x20, 0x10, 0x08, 0x10, 0x20, 0x40}, // >
{0x70, 0x88, 0x08, 0x30, 0x20, 0x00, 0x20}, // ?
{0x70, 0x88, 0xA8, 0xB8, 0xB0, 0x80, 0x78}, // @
{0x20, 0x50, 0x88, 0x88, 0xF8, 0x88, 0x88}, // A
{0xF0, 0x88, 0x88, 0xF0, 0x88, 0x88, 0xF0}, // B
{0x70, 0x88, 0x80, 0x80, 0x80, 0x88, 0x70}, // C
{0xF0, 0x88, 0x88, 0x88, 0x88, 0x88, 0xF0}, // D
{0xF8, 0x80, 0x80, 0xF0, 0x80, 0x80, 0xF8}, // E
{0xF8, 0x80, 0x80, 0xF0, 0x80, 0x80, 0x80}, // F
{0x78, 0x88, 0x80, 0x80, 0x98, 0x88, 0x78}, // G
{0x88, 0x88, 0x88, 0xF8, 0x88, 0x88, 0x88}, // H
{0x70, 0x20, 0x20, 0x20, 0x20, 0x20, 0x70}, // I
{0x38, 0x10, 0x10, 0x10, 0x10, 0x90, 0x60}, // J
{0x88, 0x90, 0xA0, 0xC0, 0xA0, 0x90, 0x88}, // K
{0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0xF8}, // L
{0x88, 0xD8, 0xA8, 0xA8, 0xA8, 0x88, 0x88}, // M
{0x88, 0x88, 0xC8, 0xA8, 0x98, 0x88, 0x88}, // N
{0x70, 0x88, 0x88, 0x88, 0x88, 0x88, 0x70}, // O
{0xF0, 0x88, 0x88, 0xF0, 0x80, 0x80, 0x80}, // P
{0x70, 0x88, 0x88, 0x88, 0xA8, 0x90, 0x68}, // Q
{0xF0, 0x88, 0x88, 0xF0, 0xA0, 0x90, 0x88}, // R
{0x70, 0x88, 0x80, 0x70, 0x08, 0x88, 0x70}, // S
{0xF8, 0xA8, 0x20, 0x20, 0x20, 0x20, 0x20}, // T
{0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x70}, // U
{0x88, 0x88, 0x88, 0x88, 0x88, 0x50, 0x20}, // V
{0x88, 0x88, 0x88, 0xA8, 0xA8, 0xA8, 0x50}, // W
{0x88, 0x88, 0x50, 0x20, 0x50, 0x88, 0x88}, // X
{0x88, 0x88, 0x50, 0x20, 0x20, 0x20, 0x20}, // Y
{0xF8, 0x08, 0x10, 0x70, 0x40, 0x80, 0xF8}, // Z
{0x78, 0x40, 0x40, 0x40, 0x40, 0x40, 0x78}, // [
{0x00, 0x80, 0x40, 0x20, 0x10, 0x08, 0x00}, // 55
{0x78, 0x08, 0x08, 0x08, 0x08, 0x08, 0x78}, // ]
{0x20, 0x50, 0x88, 0x00, 0x00, 0x00, 0x00}, // ^
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8}, // _
{0x60, 0x60, 0x20, 0x10, 0x00, 0x00, 0x00}, // `
{0x00, 0x00, 0x60, 0x10, 0x70, 0x90, 0x78}, // a
{0x80, 0x80, 0xB0, 0xC8, 0x88, 0xC8, 0xB0}, // b
{0x00, 0x00, 0x70, 0x88, 0x80, 0x88, 0x70}, // c
{0x08, 0x08, 0x68, 0x98, 0x88, 0x98, 0x68}, // d
{0x00, 0x00, 0x70, 0x88, 0xF8, 0x80, 0x70}, // e
{0x10, 0x28, 0x20, 0x70, 0x20, 0x20, 0x20}, // f
{0x00, 0x00, 0x70, 0x98, 0x98, 0x68, 0x08}, // g
{0x80, 0x80, 0xB0, 0xC8, 0x88, 0x88, 0x88}, // h
{0x20, 0x00, 0x60, 0x20, 0x20, 0x20, 0x70}, // i
{0x10, 0x00, 0x10, 0x10, 0x10, 0x90, 0x60}, // j
{0x80, 0x80, 0x90, 0xA0, 0xC0, 0xA0, 0x90}, // k
{0x60, 0x20, 0x20, 0x20, 0x20, 0x20, 0x70}, // l
{0x00, 0x00, 0xD0, 0xA8, 0xA8, 0xA8, 0xA8}, // m
{0x00, 0x00, 0xB0, 0xC8, 0x88, 0x88, 0x88}, // n
{0x00, 0x00, 0x70, 0x88, 0x88, 0x88, 0x70}, // o
{0x00, 0x00, 0xB0, 0xC8, 0xC8, 0xB0, 0x80}, // p
{0x00, 0x00, 0x68, 0x98, 0x98, 0x68, 0x08}, // q
{0x00, 0x00, 0xB0, 0xC8, 0x80, 0x80, 0x80}, // r
{0x00, 0x00, 0x78, 0x80, 0x70, 0x08, 0xF0}, // s
{0x20, 0x20, 0xF8, 0x20, 0x20, 0x28, 0x10}, // t
{0x00, 0x00, 0x88, 0x88, 0x88, 0x98, 0x68}, // u
{0x00, 0x00, 0x88, 0x88, 0x88, 0x50, 0x20}, // v
{0x00, 0x00, 0x88, 0x88, 0xA8, 0xA8, 0x50}, // w
{0x00, 0x00, 0x88, 0x50, 0x20, 0x50, 0x88}, // x
{0x00, 0x00, 0x88, 0x88, 0x78, 0x08, 0x88}, // y
{0x00, 0x00, 0xF8, 0x10, 0x20, 0x40, 0xF8}, // z
{0x10, 0x20, 0x20, 0x40, 0x20, 0x20, 0x10}, // {
{0x20, 0x20, 0x20, 0x00, 0x20, 0x20, 0x20}, // |
{0x40, 0x20, 0x20, 0x10, 0x20, 0x20, 0x40}, // }

};

const uint8_t F6x8[][8]=
{
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, //  
{0x10, 0x10, 0x10, 0x10, 0x00, 0x10, 0x00, 0x00}, // !
{0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00}, // "
{0x28, 0x28, 0x7C, 0x28, 0x7C, 0x28, 0x28, 0x00}, // #
{0x10, 0x3C, 0x50, 0x38, 0x14, 0x78, 0x10, 0x00}, // $
{0x0C, 0x4C, 0x20, 0x10, 0x08, 0x64, 0x60, 0x00}, // %
{0x30, 0x48, 0x50, 0x20, 0x54, 0x48, 0x34, 0x00}, // &
{0x30, 0x10, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00}, // '
{0x08, 0x10, 0x20, 0x20, 0x20, 0x10, 0x08, 0x00}, // (
{0x20, 0x10, 0x08, 0x08, 0x08, 0x10, 0x20, 0x00}, // )
{0x00, 0x10, 0x54, 0x38, 0x54, 0x10, 0x00, 0x00}, // *
{0x00, 0x10, 0x10, 0x7C, 0x10, 0x10, 0x00, 0x00}, // +
{0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x08, 0x10}, // ,
{0x00, 0x00, 0x00, 0x7C, 0x00, 0x00, 0x00, 0x00}, // -
{0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x30, 0x00}, // .
{0x00, 0x04, 0x08, 0x10, 0x20, 0x40, 0x00, 0x00}, // /
{0x38, 0x44, 0x4C, 0x54, 0x64, 0x44, 0x38, 0x00}, // 0
{0x10, 0x30, 0x10, 0x10, 0x10, 0x10, 0x38, 0x00}, // 1
{0x38, 0x44, 0x04, 0x08, 0x10, 0x20, 0x7C, 0x00}, // 2
{0x7C, 0x08, 0x10, 0x08, 0x04, 0x44, 0x38, 0x00}, // 3
{0x08, 0x18, 0x28, 0x48, 0x7C, 0x08, 0x08, 0x00}, // 4
{0x7C, 0x40, 0x78, 0x04, 0x04, 0x44, 0x38, 0x00}, // 5
{0x18, 0x20, 0x40, 0x78, 0x44, 0x44, 0x38, 0x00}, // 6
{0x7C, 0x04, 0x08, 0x10, 0x20, 0x20, 0x20, 0x00}, // 7
{0x38, 0x44, 0x44, 0x38, 0x44, 0x44, 0x38, 0x00}, // 8
{0x38, 0x44, 0x44, 0x3C, 0x04, 0x08, 0x30, 0x00}, // 9
{0x00, 0x30, 0x30, 0x00, 0x30, 0x30, 0x00, 0x00}, // :
{0x00, 0x30, 0x30, 0x00, 0x30, 0x10, 0x20, 0x00}, // ;
{0x08, 0x10, 0x20, 0x40, 0x20, 0x10, 0x08, 0x00}, // <
{0x00, 0x00, 0x7C, 0x00, 0x7C, 0x00, 0x00, 0x00}, // =
{0x20, 0x10, 0x08, 0x04, 0x08, 0x10, 0x20, 0x00}, // >
{0x38, 0x44, 0x04, 0x08, 0x10, 0x00, 0x10, 0x00}, // ?
{0x38, 0x44, 0x04, 0x34, 0x5C, 0x44, 0x38, 0x00}, // @
{0x10, 0x28, 0x44, 0x44, 0x7C, 0x44, 0x44, 0x00}, // A
{0x78, 0x44, 0x44, 0x78, 0x44, 0x44, 0x78, 0x00}, // B
{0x38, 0x44, 0x40, 0x40, 0x40, 0x44, 0x38, 0x00}, // C
{0x70, 0x48, 0x44, 0x44, 0x44, 0x48, 0x70, 0x00}, // D
{0x7C, 0x40, 0x40, 0x78, 0x40, 0x40, 0x7C, 0x00}, // E
{0x7C, 0x40, 0x40, 0x78, 0x40, 0x40, 0x40, 0x00}, // F
{0x38, 0x44, 0x40, 0x5C, 0x44, 0x44, 0x3C, 0x00}, // G
{0x44, 0x44, 0x44, 0x7C, 0x44, 0x44, 0x44, 0x00}, // H
{0x38, 0x10, 0x10, 0x10, 0x10, 0x10, 0x38, 0x00}, // I
{0x1C, 0x08, 0x08, 0x08, 0x08, 0x48, 0x30, 0x00}, // J
{0x44, 0x48, 0x50, 0x60, 0x50, 0x48, 0x44, 0x00}, // K
{0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x7C, 0x00}, // L
{0x44, 0x6C, 0x54, 0x54, 0x44, 0x44, 0x44, 0x00}, // M
{0x44, 0x44, 0x64, 0x54, 0x4C, 0x44, 0x44, 0x00}, // N
{0x38, 0x44, 0x44, 0x44, 0x44, 0x44, 0x38, 0x00}, // O
{0x78, 0x44, 0x44, 0x78, 0x40, 0x40, 0x40, 0x00}, // P
{0x38, 0x44, 0x44, 0x44, 0x54, 0x48, 0x34, 0x00}, // Q
{0x78, 0x44, 0x44, 0x78, 0x50, 0x48, 0x44, 0x00}, // R
{0x3C, 0x40, 0x40, 0x38, 0x04, 0x04, 0x78, 0x00}, // S
{0x7C, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x00}, // T
{0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x38, 0x00}, // U
{0x44, 0x44, 0x44, 0x44, 0x44, 0x28, 0x10, 0x00}, // V
{0x44, 0x44, 0x44, 0x54, 0x54, 0x54, 0x28, 0x00}, // W
{0x44, 0x44, 0x28, 0x10, 0x28, 0x44, 0x44, 0x00}, // X
{0x44, 0x44, 0x44, 0x28, 0x10, 0x10, 0x10, 0x00}, // Y
{0x7C, 0x04, 0x08, 0x10, 0x20, 0x40, 0x7C, 0x00}, // Z
{0x38, 0x20, 0x20, 0x20, 0x20, 0x20, 0x38, 0x00}, // [
{0x54, 0x28, 0x54, 0x28, 0x54, 0x28, 0x54, 0x00}, // 55
{0x38, 0x08, 0x08, 0x08, 0x08, 0x08, 0x38, 0x00}, // ]
{0x10, 0x28, 0x44, 0x00, 0x00, 0x00, 0x00, 0x00}, // ^
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7C, 0x00}, // _
{0x20, 0x10, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00}, // `
{0x00, 0x00, 0x38, 0x04, 0x3C, 0x44, 0x3C, 0x00}, // a
{0x40, 0x40, 0x58, 0x64, 0x44, 0x44, 0x78, 0x00}, // b
{0x00, 0x00, 0x38, 0x40, 0x40, 0x44, 0x38, 0x00}, // c
{0x04, 0x04, 0x34, 0x4C, 0x44, 0x44, 0x3C, 0x00}, // d
{0x00, 0x00, 0x38, 0x44, 0x7C, 0x40, 0x38, 0x00}, // e
{0x18, 0x24, 0x20, 0x70, 0x20, 0x20, 0x20, 0x00}, // f
{0x00, 0x00, 0x3C, 0x44, 0x44, 0x3C, 0x04, 0x38}, // g
{0x40, 0x40, 0x58, 0x64, 0x44, 0x44, 0x44, 0x00}, // h
{0x10, 0x00, 0x30, 0x10, 0x10, 0x10, 0x38, 0x00}, // i
{0x08, 0x00, 0x18, 0x08, 0x08, 0x08, 0x48, 0x30}, // j
{0x40, 0x40, 0x48, 0x50, 0x60, 0x50, 0x48, 0x00}, // k
{0x30, 0x10, 0x10, 0x10, 0x10, 0x10, 0x38, 0x00}, // l
{0x00, 0x00, 0x68, 0x54, 0x54, 0x44, 0x44, 0x00}, // m
{0x00, 0x00, 0x58, 0x64, 0x44, 0x44, 0x44, 0x00}, // n
{0x00, 0x00, 0x38, 0x44, 0x44, 0x44, 0x38, 0x00}, // o
{0x00, 0x00, 0x78, 0x44, 0x44, 0x78, 0x40, 0x40}, // p
{0x00, 0x00, 0x34, 0x4C, 0x4C, 0x34, 0x04, 0x04}, // q
{0x00, 0x00, 0x58, 0x64, 0x40, 0x40, 0x40, 0x00}, // r
{0x00, 0x00, 0x38, 0x40, 0x38, 0x04, 0x78, 0x00}, // s
{0x20, 0x20, 0x70, 0x20, 0x20, 0x24, 0x18, 0x00}, // t
{0x00, 0x00, 0x44, 0x44, 0x44, 0x4C, 0x34, 0x00}, // u
{0x00, 0x00, 0x44, 0x44, 0x44, 0x28, 0x10, 0x00}, // v
{0x00, 0x00, 0x44, 0x44, 0x54, 0x54, 0x28, 0x00}, // w
{0x00, 0x00, 0x44, 0x28, 0x10, 0x28, 0x44, 0x00}, // x
{0x00, 0x00, 0x44, 0x44, 0x44, 0x3C, 0x04, 0x38}, // y
{0x00, 0x00, 0x7C, 0x08, 0x10, 0x20, 0x7C, 0x00}, // z
};
